import request from "../utils/request.js"

// 提交答案
export function submitAnswer(data){
	return request({
		url: "/submitAnswer",
		method: "post",
		data
	})
}

export function getListAnswerList(data){
	return request({
		url: "/getListAnswerList",
		method: "post",
		data
	})
}
// 获取题目答案
export function getTopicAnswer(data){
	return request({
		url: "/getTopicAnswer",
		method: "post",
		data
	})
}

// 答案历史
export function getHistory(data){
	return request({
		url: "/getHistory",
		method: "post",
		data
	})
}
// 获取每月已答题的天
export function getDates(data){
	return request({
		url: "/getDates",
		method: "post",
		data
	})
}
// 统计回答题目
export function topicCount(data){
	return request({
		url: "/topicCount",
		method: "post",
		data
	})
}

// 更新分享图片
export function topicShareImg(data){
	return request({
		url: "/topicShareImg",
		method: "post",
		data
	})
}

